package view;


import java.awt.GridBagConstraints;

import javax.swing.JTextArea;
import javax.swing.JTextField;

/**
 * This class is a premade {@link javax.swing.JTextField} created specifically for this program.
 * It includes all the necessary items needed.
 * @author Ben
 */
@SuppressWarnings("serial")
public class MessageField extends JTextField
{
	JTextArea textArea;
	GridBagConstraints c;

	public MessageField()
	{
        setColumns(20);
        c = new GridBagConstraints();
        c.gridwidth = GridBagConstraints.REMAINDER;
        c.fill = GridBagConstraints.HORIZONTAL;
	}
	
	protected GridBagConstraints getConstraint()
	{
		return c;
	}
}
